﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class DBSchemaFlag
    {
        /*
** Allowed values for the DB.pSchema->flags field.
**
** The DBSchemaFlag.DB_SchemaLoaded flag is set after the database schema has been
** read into internal hash tables.
**
** DBSchemaFlag.DB_UnresetViews means that one or more views have column names that
** have been filled out.  If the schema changes, these column names might
** changes and so the view will need to be reset.
*/
        //#define DBSchemaFlag.DB_SchemaLoaded    0x0001  /* The schema has been loaded */
        //#define DBSchemaFlag.DB_UnresetViews    0x0002  /* Some views have defined column names */
        //#define DBSchemaFlag.DB_Empty           0x0004  /* The file is empty (length 0 bytes) */
        public const ushort DB_SchemaLoaded = 0x0001;
        public const ushort DB_UnresetViews = 0x0002;
        public const ushort DB_Empty = 0x0004;
    }
}
